from flask import Flask

from order import order_bp
from users import user_bp

app = Flask(__name__)

# 注册蓝图
app.register_blueprint(user_bp, url_prefix = '/users')

app.register_blueprint(order_bp, url_prefix = '/order')


@app.route('/')
def hello_world():  # put application's code here
	return 'Hello World!'


if __name__ == '__main__':
	app.run()
